<template>
	<view class="index p10 c0 f16">
		<view class="mb10">{{form.time}}</view>
		<view class="p10 bf bs6">
			<u-grid :border="false" col="3">
				<u-grid-item v-for="(listItem,listIndex) in list3" :key="listIndex">
					<view class="p-10-0 tac grid">
						<view class="grid-text f14 mb5 c9">{{listItem.title}}</view>
						<text class="f18 wei5">{{listItem.num}}</text>
					</view>
				</u-grid-item>
			</u-grid>
			<u-toast ref="uToast" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {},
				list3: [{
					num: '0.00',
					title: '营业额'
				}, {
					num: '0.00',
					title: '支付金额'
				}, {
					num: '0',
					title: '优惠金额'
				}, {
					num: '0',
					title: '支付订单数'
				}, {
					num: '0.00',
					title: '客单价'
				}, {
					num: '0',
					title: '会员新增'
				}, {
					num: '0',
					title: '会员储值'
				}, {
					num: '0',
					title: '退款金额'
				}, ],
			}
		},
		onLoad(options) {
			if (options.item) {
				this.form = JSON.parse(decodeURIComponent(options.item))
			}
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
	.index {

		.grid {
			width: 100%;
			height: 100%;
		}

	}
</style>
